package com.yl.pattern.behavioralmodel.state.after;

/**
 * @Author 小羊
 * @Date 1/11/2024下午 3:01
 * @ClassName Client
 * @Description Client
 */
public class Client {
    public static void main(String[] args) {
        Context context = new Context();
        context.setState(new ClosingState());

        context.open();
        context.close();
        context.run();
        context.stop();
    }
}
